import request from '@/utils/request'

// 商品列表
export function goodlist(params) {
    return request({
      url: '/api/v1/good/list',
      method: 'get',
      params
    })
  }
  // 商品品类
  export function goodcate(params) {
    return request({
      url: '/api/v1/good/cates',
      method: 'get',
      params
    })
  }
  

  export function goodadd(data) {
    return request({
      url: '/api/v1/good/add',
      method: 'post',
      data
    })
  }
  